package com.xxx.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.xxx.bean.Rule;
import com.xxx.mapper.RuleMapper;
import com.xxx.service.RuleService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 规则 服务实现类
 * </p>
 */
@Service
public class RuleServiceImpl extends ServiceImpl<RuleMapper, Rule> implements RuleService {

    @Override
    public List<Rule> getRules() {
        return this.lambdaQuery().list();
    }
}
